//using System;
//using System.Collections.Generic;
//using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;
//using System.Linq;
//using System.Resources;
//using System.Runtime.Serialization;
//using System.Text;
//using System.Threading.Tasks;

//namespace KPIS.GERP.Models.ICM
//{
//    [DataContract, Table("IcmPrePurchaseRequestCommittee")]
//    public class PrePurchaseRequestCommitteeX
//    {

//        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
//        [DataMember, Display(Name = "PprComId", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public int IcmPprComId { get; set; }

//        [ForeignKey("PrePurchaseRequest")]
//        [DataMember, Display(Name = "PprId", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<int> IcmPprId { get; set; }

//        [ForeignKey("MasCommitteeFunction")]
//        [DataMember, Display(Name = "ComFuncId", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public int IcmComFuncId { get; set; }

//        [ForeignKey("MasCommitteePosition")]
//        [DataMember, Display(Name = "ComPosId", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public int ComPosId { get; set; }

//        [DataMember, Display(Name = "PprComRefNo", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public int PprComRefNo { get; set; }


//        [ForeignKey("Employee")]
//        [DataMember, Display(Name = "EmpId", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<int> EmpId { get; set; }

//        [DataMember, Display(Name = "PprComExName", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public string PprComExName { get; set; }

//        [DataMember, Display(Name = "PprComExDescr", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public string PprComExDescr { get; set; }

//        [DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<int> CreatedBy { get; set; }

//        [DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<System.DateTime> CreatedWhen { get; set; }

//        [DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<int> UpdatedBy { get; set; }

//        [DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<System.DateTime> UpdatedWhen { get; set; }

//        [DataMember, Display(Name = "RestoredBy", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<int> RestoredBy { get; set; }

//        [DataMember, Display(Name = "RestoredWhen", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public Nullable<System.DateTime> RestoredWhen { get; set; }

//        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PrePurchaseRequestCommitteeResource))]
//        public string RecordStatus { get; set; }
    
//        [DataMember]
//        public virtual MasCommitteeFunction MasCommitteeFunction { get; set; }

//        [DataMember]
//        public virtual MasCommitteePosition MasCommitteePosition { get; set; }

//        [DataMember]
//        public virtual PrePurchaseRequest PrePurchaseRequest { get; set; }

//        [DataMember]
//        public virtual HRM.Employee Employee { get; set; }

//        [DataMember]
//        public virtual SysCommitteeType SysCommitteeType { get; set; }

//        //[DataMember]
//        //public virtual PrePurchaseRequest PrePurchaseRequest { get; set; }

//        [DataMember]
//        public virtual BidCommittee BidCommittee { get; set; }

//        //[DataMember]
//        //public virtual MasCommitteePosition MasCommitteePosition { get; set; }

//    }
//}